<%@page import=" java.util.Map"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>


<%
	//Map<String,String> map =(Map<String,String>) request.getAttribute("map");
	String map =request.getAttribute("map").toString();
%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>报告日志管理</title>

<%@include file="/jsp/include/common.jsp"%>
</head>

<body class="easyui-layout">
 <%-- <%@include file="/jsp/include/commonLayout.jsp" %>  --%>
 
 
	<div data-options="region:'center'">
		 
	</div>
</body>
<script type="text/javascript">
	$(document).ready(function() {
		var data="<%=map%>";
		alert(data);
		ExeRun('<%=map%>');
	});
	function   ExeRun(command)  {
		  window.oldOnError=window.onerror;     
		  window._command=command;     
		  window.onerror=function(err)     
		  {     
		  if(err.indexOf('automation')!=-1)     
		  {     
		  alert("命令"+window._command+"已经被用户禁止!");       
		            return   true;     
		  }     
		  else   return   false;     
		  }     
		  var   wsh=new   ActiveXObject("WScript.Shell");     
		  if(wsh)     
		  wsh.Run(command);     
		  window.onerror=window.oldOnError;     
}    
	// 保存用户


</script>
</html>
